package Operation;
import Books.Book;
import Books.Booklist;

import java.util.Scanner;

public class Showbook implements IOPeration{
    @Override
        public void work (Booklist booklist){
            System.out.println("显示全部图书");
            int usersize = booklist.getUsersize();
            for (int i = 0; i < usersize; i++) {
                Book book = booklist.getbook(i);
                System.out.println(book);
            }
        }

}
